Outline for an Operational-Semantics Definition of PROMELA
ثبت نشده
چکیده
q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 Figure 1: Sample Symbolic Labeled Transition System Data structures. Channels with more than one message eld. Run statements with more than one argument. The semantics of the run statement, furthermore, is somewhat diierent from that presented in Page 95 of 1]. In the semantics given here, the run statement cannot be used in composite arithmetic expressions. The semantics deenitions can be modiied fairly straightforwardly to overcome these restrictions. In this section, we illustrate by means of an example how a process declaration in textual form is represented as a symbolic labeled transition system. Consider the following process type which is some arbitrary collection of PROMELA statements. Example 6.1 active proctype foo(int x) f chan c1,c22 chan c3 = 10] of fchang int x1 = 1 int x22 x1 = 2 atomic f (x1 == 2)-> x1 = x1 + 1 g do :: (x 1 > 5)-> x 1 = x 1-5 :: else-> x1 = x1 + 5 odd skipp c1?x1 unless c2?x2 g The symbolic labeled transition system corresponding to this program is hfooo Structure q 0 locals ChansOwned 1 x i where Structure is given in Figure 1. locals is the partial function which t a k es values 0 0 1 a t xx x2 x 1 respectively and undeened at all other arguments. ChansOwned is the nite sequence hc1 i hc2 i hc3 10 chani. The priority of the transition from state q 8 to q 11 is higher than the one from q 8 to q 9. The else statement is translated into the negation of the conjunction of the other guards of the same if or do statement. It is an error to have send or receive statements as alternatives to an else in a if or do statement. Statements that transfer control out of an atomic into a non-atomic region are executed in normal mode. 7 Summary This report gives an outline for an operational-semantics deenition of the veriication language PROMELA. W e s h o wed how a given PROMELA program, represented as sequence of symbolic labeled transition systems, can be translated into a Kripke structure. This was done by deening primitive statements as conditional state transformers. Not deened here is the conversion algorithm, part of SPIN, that translates PROMELA proctype deenitions into symbolic labeled transition systems. Features …
منابع مشابه
Outline for an operational semantics of Promela
PROMELA is a high-level specification language for modeling interactions in distributed systems, and for expressing logical correctness requirements about such interactions. The model checker SPIN accepts specifications written in this language, and it can produce automated proofs for each type of property. SPIN either proves that a property is valid in the given system, or it generates a count...
متن کاملDeclarative Definition of Object-Oriented Multidatabase Mappings
We propose a language for declarative speciication of mappings between diierent object-oriented multidatabases. The language is based on OSQL, the query language of the IRIS OODBMS. We also outline the operational semantics of our language.
متن کاملComputational Effects and Operations: An Overview
We overview a programme to provide a unified semantics for computational effects based upon the notion of a countable enriched Lawvere theory. We define the notion of countable enriched Lawvere theory, show how the various leading examples of computational effects, except for continuations, give rise to them, and we compare the definition with that of a strong monad. We outline how one may use ...
متن کاملTowards an Operational Definition of Critical Thinking
This paper offers a state-of-the-art working definition for the concept of Critical Thinking (CT hereafter) in an attempt to provide a framework for the development of an operational definition for this complex concept. Having studied various definitions and models, proposed for CT by major figures in the field, the key defining features of this rich concept were identified and classified. Base...
متن کاملVerifiable agent dialogues
In this paper, we introduce the Multi-Agent Protocol (MAP) language which expresses dialogues in Multi-Agent Systems. MAP defines precisely the pattern of message exchange that occurs between the agents, though it is independent of the actual rational processes and message-content. This approach makes MAP applicable to a wide range of different agent architectures, e.g. reactive, proactive, and...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996